﻿<%@ Page Language="C#" MasterPageFile="~/Style/Admin/AdminCPMP.master" AutoEventWireup="true" CodeBehind="OrderViewDetails.aspx.cs" Inherits="OnlineFloralShop.Admin.Order.OrderViewDetails" Title="Untitled Page" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder_MainAdmin" runat="server">
<div class="boxsearch">
  <div class="left"></div>
  <div class="right"></div>
  <div class="heading">
      <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label></div>
  <div class="content">
      <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
      </asp:ToolkitScriptManager>
      <asp:TabContainer ID="TabContainer1" runat="server"  ActiveTabIndex="2" >
      <asp:TabPanel ID="TabPanel1" runat="server" >
      <HeaderTemplate>Order Details</HeaderTemplate>
      <ContentTemplate>
      <asp:formview id="orderFormView" allowpaging="true"  runat="server"  >
        <itemtemplate>
          <table class="form" runat="server">
            <tbody>
      <tr><td>Order ID:</td><td>
          <asp:Label ID="Label2" runat="server" Text='<%#Eval("OrderID")%>'></asp:Label></td></tr>
      <tr><td>User Name:</td><td >
      <asp:Label ID="Label3" runat="server" Text='<%#Eval("UserName")%>'></asp:Label></td></tr>
      <tr><td>Receive Name:</td><td >
      <asp:Label ID="Label12" runat="server" Text='<%#Eval("[Name]")%>'></asp:Label></td></tr>
      <tr><td>Start Date:</td><td>
      <asp:Label ID="Label4" runat="server" Text='<%#Eval("StartDate")%>'></asp:Label></td></tr>
      <tr><td>End Date:</td><td>
      <asp:Label ID="Label5" runat="server" Text='<%#Eval("EndDate")%>'></asp:Label></td></tr>
      <tr><td>Time:</td><td>
      <asp:Label ID="Label6" runat="server" Text='<%#Eval("[Time]")%>'></asp:Label></td></tr>
      
      <tr><td>Status:</td><td>
          <asp:DropDownList ID="DropDownList1" runat="server" >
          </asp:DropDownList>
          </td></tr>
      
      <tr><td>Location:</td><td >
      <asp:Label ID="Label10" runat="server" Text='<%#Eval("LocationName")%>'></asp:Label></td></tr>
      
      </tbody>
          </table>
        </itemtemplate>
        <pagersettings position="Bottom"
          mode="NextPrevious"/> 
      </asp:formview>
      
      </ContentTemplate>
      
      </asp:TabPanel>
      
      <asp:TabPanel ID="tab2" runat="server" >
      <HeaderTemplate>Product Details</HeaderTemplate>
      <ContentTemplate>
            <asp:ListView ID="listorder" runat="server">
      
        <LayoutTemplate>
          <table cellpadding="2" border="1" runat="server" id="tblorder" class="form">
            <tr id="Tr1" runat="server">
              
                  
              <th id="Th2" runat="server">ProductId</th>
              <th id="Th3" runat="server">Product Name</th>              
              <th id ="Th6" runat="server">Category</th>
              <th id ="Th7" runat="server">Quantity</th>
              <th id ="Th8" runat="server">UnitPrice</th>
              <th id ="Th4" runat="server">Price Buy</th>             
              <th id ="Th9" runat="server">Image</th>
             
            </tr>
            <tr runat="server" id="itemPlaceholder" />
          </table>
          <asp:DataPager runat="server" ID="ContactsDataPager" PageSize="12">
            <Fields>
              <asp:NextPreviousPagerField ShowFirstPageButton="true" ShowLastPageButton="true"
                FirstPageText="|&lt;&lt; " LastPageText=" &gt;&gt;|"
                NextPageText=" &gt; " PreviousPageText=" &lt; " />
            </Fields>
          </asp:DataPager>
        </LayoutTemplate>
        <ItemTemplate>
          <tr id="Tr2" runat="server">
           
            <td>
              <asp:Label ID="ProductId" runat="Server" Text='<%#Eval("ProductId") %>' />
            </td>
            <td >
              <asp:Label ID="ProductName" runat="Server" Text='<%#Eval("ProductName") %>' />
            </td>            
            
            <td >
              <asp:Label ID="Category" runat="Server" Text='<%#Eval("CategoryName") %>' />
            </td>
            <td >
              <asp:Label ID="Quantity" runat="Server" Text='<%#Eval("Quantity") %>' />
            </td>
            <td >
              <asp:Label ID="Price" runat="Server" Text='<%#Eval("Price") %>' />
            </td>
            
            <td >
              <asp:Label ID="PriceBuy" runat="Server" Text='<%#Eval("Price") %>' />
            </td>
            <td >
              <asp:Label ID="Images" runat="Server" Text='<%#Eval("Images") %>' />
            </td>
            
          </tr>
        </ItemTemplate>
</asp:ListView>


      </ContentTemplate>
      </asp:TabPanel>
      <asp:TabPanel ID="Tab3" runat="server" >
      <HeaderTemplate>Shipping Address</HeaderTemplate>
      <ContentTemplate>
      <asp:formview id="Formview1" allowpaging="true"  runat="server"  >
        <itemtemplate>
        <div style="display:block">
          <table id="Table1"  runat="server" width="49%" class="form" style="float:left">
            <tbody>
            <tr><th style ="width:95%" colspan="2">From</th></tr>
      <tr><td >UserName:</td>
      <td > <asp:Label ID="Label2" runat="server" Text="UserName"></asp:Label></td></tr>
      <tr><td >Full Name:</td><td>
      <asp:Label ID="Label3" runat="server" Text='Full Name'></asp:Label></td></tr>
      <tr><td>Address:</td><td>
      <asp:Label ID="Label12" runat="server" Text='Full Name'></asp:Label></td></tr>
      <tr><td>Sex:</td><td>
      <asp:Label ID="Label4" runat="server" Text="Full Name"></asp:Label></td></tr>
      <tr><td >Phone:</td><td>
      <asp:Label ID="Label5" runat="server" Text="Full Name"></asp:Label></td></tr>
      <tr><td>Email:</td><td >
      <asp:Label ID="Label6" runat="server" Text='Full Name'></asp:Label></td></tr>    
      
      </tbody>
          </table>
          <table id="Table2"  runat="server" width="49%" class="form" style="float:right">
            <tbody>
            <tr><th style ="width:95%" colspan="2">To</th></tr>
      <tr><td >UserName:</td>
      <td> <asp:Label ID="Label7" runat="server" Text='Full Name'></asp:Label></td></tr>
      <tr><td >Full Name:</td><td>
      <asp:Label ID="Label8" runat="server" Text='Full Name'></asp:Label></td></tr>
      <tr><td>Address:</td><td>
      <asp:Label ID="Label9" runat="server" Text='Full Name'></asp:Label></td></tr>
      <tr><td>Sex:</td><td>
      <asp:Label ID="Label11" runat="server" Text='Full Name'></asp:Label></td></tr>
      <tr><td>Phone:</td><td >
      <asp:Label ID="Label13" runat="server" Text='Full Name'></asp:Label></td></tr>
      <tr><td>Email:</td><td>
      <asp:Label ID="Label14" runat="server" Text='Full Name'></asp:Label></td></tr>    
      
      </tbody>
          </table>
            </div>  
        </itemtemplate>
        <pagersettings position="Bottom"
          mode="NextPrevious"/> 
      </asp:formview>  

      </ContentTemplate>
      </asp:TabPanel>
      <asp:TabPanel ID="tab4" runat="server" >
      <HeaderTemplate>Order History</HeaderTemplate>
      <ContentTemplate>
      <asp:formview id="Formview2" allowpaging="true"  runat="server"  >
        <itemtemplate>
          <table id="Table3" class="form" runat="server" >
            <tbody>
      <tr><td>Order ID:</td><td>
          <asp:Label ID="Label2" runat="server" Text='<%#Eval("OrderID")%>'></asp:Label></td></tr>
      <tr><td>Date Added:</td><td >
      <asp:Label ID="Label3" runat="server" Text='<%#Eval("StartDate")%>'></asp:Label></td></tr>
      <tr><td>EndDate:</td><td >
      <asp:Label ID="Label12" runat="server" Text='<%#Eval("EndDate")%>'></asp:Label></td></tr>
      
      
      <tr><td>Time:</td><td>
      <asp:Label ID="Label6" runat="server" Text='<%#Eval("[Time]")%>'></asp:Label></td></tr>
      
      <tr><td>Status:</td><td>
          <asp:DropDownList ID="DropDownList1" runat="server" >
          </asp:DropDownList>
          </td></tr>
      <tr><td>     </td><td><asp:Button ID="Button1"  runat="server" CssClass="button" Text="Save"/></td></tr>
      
      
      </tbody>
          </table>
        </itemtemplate>
        <pagersettings position="Bottom"
          mode="NextPrevious"/> 
      </asp:formview>


          </ContentTemplate>
      </asp:TabPanel>
      </asp:TabContainer>
  </div>
  </div>
  
    </asp:Content>
